<template>
	<component :is="node.vueComponentName" :config="node.konvaGraphConfig">
		<KonvaGraphNode
			v-for="child in node.graphsConfigItems"
			v-if="node.graphsConfigItems?.length"
			:key="child.vueComponentName"
			:node="child"
		/>
	</component>
</template>

<script setup>
defineProps({
	node: {
		type: Object,
		required: true,
	},
});
</script>
